<?php
namespace Home\Model;
use Think\Model\RelationModel;
class VoteModel extends RelationModel
{
	protected $_link = array(
			    'form_vote_item' => array(
	    'mapping_type' => self::HAS_MANY,
	    'class_name' => 'form_vote_item',
	    'foreign_key' => 'form_vote_id',
	    
	   
	    
	    )
	);	
}